package v1

import (
	v1 "chat/app/service/v1"
	"net/http"
)

func (c *App) AddFriend() {
	data := v1.AddFriendService(c.Ctx, c.Context)
	c.JSON(http.StatusOK, data)
}

func (c *App) FriendList() {
	data := v1.UserListService(c.Ctx, c.Context)
	c.JSON(http.StatusOK, data)
}
